package com.hzw.saas.web.app.old.storage.param;

import java.io.Serializable;
import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author zzl
 * @since 02/26/2021
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
// @ApiModel("目录更新参数")
public class ResourceFolderPutParam implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 目录ID
     */
    @ApiModelProperty(value = "目录ID", position = 1, required = true)
    @NotBlank(message = "目录ID不可为空")
    private String folderId;

    /**
     * 父目录ID
     */
    @ApiModelProperty(value = "父目录ID，特殊：0-根目录", position = 2)
    private String parentId;

    /**
     * 目录名称
     */
    @ApiModelProperty(value = "目录名称", position = 3)
    private String name;


}
